home *** CD-ROM | disk | FTP | other *** search
- global gStartClick, gGizmoClick, gMLength, gMChannel, gDest, gCGframe, gCTBframe
-
- on dostartMovie
- global gStartClick, gGizmoClick, gMLength, gMChannel, gDest
- set gStartClick to 0
- set gGizmoClick to 0
- set gMChannel to 8
- set gDest to EMPTY
- set gCGframe to the number of member "CG.end"
- set gCTBframe to the number of member "ctb.end"
- set the video of member "CanFly" to 1
- set gMLength to the duration of member "CanFly"
- unLoad()
- preLoad(22, 145)
- end
-
- on walkGizmo pSource
- global gDest
- if pSource <> gDest then
- if char 1 of pSource = char 1 of gDest then
- go(label(pSource & "-" & gDest))
- else
- if pSource = "N" then
- set jMidDest to "N" & char 2 of gDest
- set jStep1 to "N-" & jMidDest
- unLoad()
- preLoad(label(jStep1), label(jStep1) + 14)
- if char 1 of gDest = "S" then
- set jStep2 to jMidDest & "-" & gDest
- preLoad(label(jStep2), label(jStep2) + 29)
- end if
- go(label("N-N" & char 2 of gDest))
- else
- if char 2 of pSource = char 2 of gDest then
- go(label(pSource & "-" & gDest))
- else
- go(label(pSource & "-" & char 1 of pSource & char 2 of gDest))
- end if
- end if
- end if
- else
- if soundBusy(1) then
- sound stop 1
- end if
- if soundBusy(2) then
- sound stop 2
- end if
- puppetSound(0)
- unLoad()
- if gDest = "NW" then
- go(1, "COMPARE")
- else
- if gDest = "NE" then
- go(1, "MAPMAKER")
- else
- if gDest = "SW" then
- go(1, "RIDDLER")
- else
- go(1, "EO")
- end if
- end if
- end if
- end if
- end
-